package com.antoco.operation.bigscreen.model.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 管道年限情况统计
 */
@Entity
@Table(name = "pipe_years_tj")
@Data
public class PipeYearsTj implements AbstractEntity<Long> , Serializable{
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Long id;

    /**
     * 统计实例标识
     */
    @Column(name = "tj_ins_id")
    private String tjInsId;

    /**
     * 1至2年占比
     */
    @Column(name = "one_two_year")
    private String oneTwoYear;

    /**
     * 3至5年占比
     */
    @Column(name = "thre_five_year")
    private String threFiveYear;

    /**
     * 5至10年占比
     */
    @Column(name = "five_ten_year")
    private String fiveTenYear;

    /**
     * 10年以上占比
     */
    @Column(name = "dayu_ten_year")
    private String dayuTenYear;
}
